-- GENERATED SPELL FOR [Fey Dragon] --


function spell0_4016(pUnit, Event) --@Nullify Mana,n/a--
pUnit:FullCastSpellOnTarget(7994,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4016', 2000, 1)
end

function Sorts_4016(pUnit, Event)
local choix_sorts_4016 = math.random(0, 0)
if choix_sorts_4016 == 0 then
pUnit:RegisterEvent('spell0_4016', 1, 1)
end
end

function mob4016_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4016', math.random(1500, 3000), 1)
end

function mob4016_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4016_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4016_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4016, 1, 'mob4016_Action')
RegisterUnitEvent(4016, 2, 'mob4016_Leave')
RegisterUnitEvent(4016, 3, 'mob4016_Kill')
RegisterUnitEvent(4016, 4, 'mob4016_Die')
